<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
</head>
<body>
    <table border="1" cellpadding="0" cellspacing="0"  align="center" width="400px">
        <tr>
            <th colspan="5">用户管理<a href="/Home/Index/add">添加用户</a></th>
        </tr>
        <tr>
            <td>ID</td>
            <td>姓名</td>
            <td>头像</td>
            <td>年龄</td>
            <td>操作</td>
        </tr>
        <?php if(is_array($list)): foreach($list as $key=>$var): ?><tr>
                <td><?php echo ($var["name"]); ?></td>
                <td><?php echo ($var["content"]); ?></td>
            </tr><?php endforeach; endif; ?>
    </table>
</body>
</html>